<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        // put your code here
        if(isset($_POST['first_name'])){
            $name = $_POST['first_name'];
        }else{
            $name = "Guest";
        }
        echo "Hello ".$name;
        ?>
        <br/>
        <form action="index.php" method="post">
            Enter Name: <input name="first_name" type="text"/>
            <input type="submit"/>
        </form>
    </body>
</html>
